#include <CommandInsertTrafficSign.h>
Inheritance diagram for CommandInsertTrafficSign:

Public Member Functions | |
| CommandInsertTrafficSign (osg::Vec3 pos, OSGWindows *osgwind, TrafficSignTypes newType) | |
| bool | execute () |
| bool | unexecute () |
Private Attributes | |
| OSGWindows * | osgwind_ |
| TrafficSign * | sign |
| vector< TraffEduObject * > | insertedObjs_ |
|
||||||||||||||||
|
A constructor. Initializes osgwind_ and creates a new traffic sign object by using the given parameters.
|
|
|
do the insertion of traffic sign object operation.
Implements Command. |
|
|
undo the insertion of traffic sign object operation.
Implements Command. |
|
|
a private vector of TraffEduObjects. It holds the inserted traffic sign objects. |
|
|
a private variable. It is initialized with the unique OSGWindows instance. |
|
|
a private variable. It is used to hold the created traffic sign object. |
1.4.6-NO